package com.pxmeta.user.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.pxmeta.user.entity.UserIdentify;
import com.pxmeta.user.entity.UserStudent;
import com.pxmeta.verify.entity.StuInfo;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author wcl
 * @since 2022-07-03
 */
public interface IUserStudentService extends IService<UserStudent> {

    /**
     * 保存用户学生身份信息
     * @param userId
     * @param info
     */
    void saveStudent(Long userId, StuInfo info);

    /**
     * 证书认证资料提交
     * @param imgUrls
     */
    void identifyByImg(Long userId, List<String> imgUrls,String schoolName);

    /**
     * 获取认证审核状态
     * @param userId
     * @return
     */
    UserIdentify getIdentifyStatus(Long userId);


    /**
     * 获取学生信息
     * @param userId
     * @return
     */
    UserStudent getStudentInfo(Long userId);
}
